﻿<!DOCTYPE html>
<html lang="zh">

<head resource>
    <include file="../inc/meta.inc" /> 
    <title>修改信息</title>      
</head>

<body>
    <div id="vapp" v-cloak>
        <el-form ref="entity" :model="entity" :rules="rules" @submit.native.prevent label-width="80px">

            <el-form-item label="名称" prop="Ls_Name">
                <el-input v-model="entity.Ls_Name" maxlength="140"></el-input>

            </el-form-item>
            <el-form-item label="状态" prop="Ls_IsShow">               
                <el-switch v-model="entity.Ls_IsShow" :active-text="entity.Ls_IsShow ? '显示' : '隐藏'">
                </el-switch>
                <help>该链接分类下的链接是否在前端页面展示</help>
            </el-form-item>
            <el-form-item label="" prop="Ls_IsUse">
                <el-switch v-model="entity.Ls_IsUse" active-color="#13ce66" inactive-color="#ff4949"
                    :active-text="entity.Ls_IsUse ? '启用' : '禁用'">
                </el-switch>               
                <help multi>禁用后不仅无法在前端页面展示，在编辑链接时，也无法选择该分类</help>
            </el-form-item>
          
            <el-form-item label="提示信息" prop="Ls_Tootip">
                <el-input type="textarea" :rows="3" placeholder="请输入内容"  maxlength="250" v-model="entity.Ls_Tootip">
                </el-input>
            </el-form-item>
            <el-form-item label="样式" prop="Ls_IsImg">
                <el-switch v-model="entity.Ls_IsImg" active-text="显示图片链接">
                </el-switch>
            </el-form-item>
            <el-form-item label="" prop="Ls_IsText">
                <el-switch v-model="entity.Ls_IsText" active-text="显示文字链接">
                </el-switch>
            </el-form-item>

        </el-form>
        <div class="footer">
            <el-button type="primary" native-type="submit" define="enter"  :loading="loading" plain @click="btnEnter('entity')">
                保存
            </el-button>
            <el-button type='close'>
                取消
            </el-button>
        </div>
    </div>


</body>

</html>